<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<!-- 导航栏菜单栏 -->
<div id="nav-right" th:fragment="nav-right">

    <!-- 功能都需要添加开关 -->

    <!-- 随机友链 -->
    <!--<div class="nav-button only-home" id="travellings_button">-->
    <!--    <a class="site-page" href="javascript:void(0);" rel="external nofollow"-->
    <!--       title="友链">-->
    <!--        <i class="iconfont icon-bus" style="font-size:1rem"></i>-->
    <!--    </a>-->
    <!--</div>-->

    <!--<div class="nav-button">-->
    <!--    <a class="site-page" href="javascript:void(0);" title="随机文章">-->
    <!--        <i class="iconfont icon-shuffle" style="font-size:1rem"></i>-->
    <!--    </a>-->
    <!--</div>-->

    <!-- 搜索使用搜索插件 -->
    <div class="nav-button" id="search-button" th:if="${pluginFinder.available('PluginSearchWidget')}">
        <a class="site-page social-icon search" href="javascript:SearchWidget.open();" rel="external nofollow" title="站内搜索">
            <i class="iconfont icon-search" style="font-size:1rem"></i>
        </a>
    </div>

    <!-- 控制台 -->
    <!--<div class="nav-button">-->
    <!--    <a class="console_switchbutton" href="javascript:void(0);" onclick="heo.showConsole()" rel="external nofollow"-->
    <!--       title="控制台">-->
    <!--        <i class="iconfont icon-a-theconsole-fill" style="font-size:1rem"></i>-->
    <!--    </a>-->
    <!--</div>-->

    <div class="nav-button" id="nav-totop" onclick="btf.scrollToDest(0,500)">
        <a class="totopbtn">
            <i class="iconfont icon-arrowup"></i><span id="percent">0</span>
        </a>
    </div>

    <div id="toggle-menu">
        <a class="site-page">
            <i class="iconfont icon-bars"></i>
        </a>
    </div>
</div>


</html>